// 底部

import styled from "@emotion/styled";
import { Button } from "antd";
import { darkBg } from "components/style";
import { useCallback } from "react";

export const FooterScreen = () => {
  const toBeian = useCallback(() => {
  
      window.open("http://beian.miit.gov.cn/");

  }, []);
  return (
    <Container>
      <Button type="link" onClick={toBeian}>
        {"浙ICP备2021005639号-1"}
      </Button>
    </Container>
  );
};
const Container = styled.div`
  width: 100%;
  height: 5rem;
  background-color: ${darkBg};
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
`;
